<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head> 
<!-- 2112 Scripting -->


<?php

$DOMAIN = 'LKS' ;

?> 


<script type="text/javascript" src="./2112PowerWindows/runtime12/NS2112.js"></script>   
<! -- Important to have this include - since all Parameters are set through this file. -->
<script type="text/javascript" src="./2112PowerWindows/config/portalSettings.js"></script>   
<script type="text/javascript" src="./2112PowerWindows/runtime12/nlsProvider.js" ></script>







<script type="text/javascript" src="./2112PowerWindows/user/portalMenu.js"></script>


<!-- 2112 Scripting Ends -->
      
	   <link rel="stylesheet" type="text/css" href="/yui/build/reset-fonts-grids/reset-fonts-grids.css" />
	<link rel="stylesheet" type="text/css" href="/yui/build/resize/assets/skins/sam/resize.css" />
	<link rel="stylesheet" type="text/css" href="/yui/build/layout/assets/skins/sam/layout.css" />
	<link rel="stylesheet" type="text/css" href="/yui/build/button/assets/skins/sam/button.css" />
	
	
	<link type="text/css" rel="stylesheet" href="/yui/build/fonts/fonts.css">
	<link type="text/css" rel="stylesheet" href="/yui/build/reset/reset.css">
	<link type="text/css" rel="stylesheet" href="/yui/build/container/assets/container.css">
	<!-- CSS for Menu -->
	<link rel="stylesheet" type="text/css" href="/2112PowerWindows/assets/layout-core.css"/>
	<link type="text/css" rel="stylesheet" href="/2112PowerWindows/assets/snapIn12.css">
	<link rel="stylesheet" type="text/css" href="/yui/build/menu/assets/menu.css">


		<script type="text/javascript" src="/yui/build/yahoo/yahoo-min.js"></script>
		<script type="text/javascript" src="/yui/build/event/event-min.js" ></script>
		<script type="text/javascript" src="/yui/build/dom/dom-min.js" ></script>
		<script type="text/javascript" src="/yui/build/dragdrop/dragdrop-min.js" ></script>
      <script type="text/javascript" src="/yui/build/animation/animation-min.js"></script>

		<script type="text/javascript" src="/yui/build/container/container.js"></script>
            <!-- Menu source file -->
      <script type="text/javascript" src="/yui/build/menu/menu-min.js"></script>
      <!-- The Portals Namespace -->
      <script type="text/javascript" src="/2112PowerWindows/config/portalSettings.js"></script>   
      <script type="text/javascript"  src="/2112PowerWindows/runtime12/NS2112.js"></script>
      <script type="text/javascript"  src="/2112PowerWindows/runtime12/portalMan.js"></script>
      <script type="text/javascript" src="/2112PowerWindows/runtime12/nlsProvider.js" ></script>
      <script type="text/javascript"  src="/2112PowerWindows/runtime12/windowMan.js"></script>

      <!-- Make sure that YAHOO is defined before using snapIn! -->
      <script type="text/javascript" src="/2112PowerWindows/runtime12/snapIn.js" ></script> 
      <script type="text/javascript"  src="/2112PowerWindows/runtime12/snapLoader.js"></script>
      <script type="text/javascript"  src="/2112PowerWindows/runtime12/coreSnapIn.js"></script>


		





<title>2112portals.com</title>

<meta name="2112Design"  />

<meta http-equiv="content-Type" content="text/html; charset=iso-8859-1" /> 
<meta name="mssmarttagspreventparsing" content="true" />
<meta name="keywords" content="2112Portals" />
<meta name="description" content="Internet Information Services." />
<meta name="distribution" content="global" />
<meta name="resource-type" content="document" />
<meta name="robots" content="all" />
<meta http-equiv="imagetoolbar" content="no" />
<link rel="SHORTCUT ICON" href="favicon.ico" />


<?php if ( $my->id ) { initEditor(); } ?>
<?php 
   echo "<link rel=\"stylesheet\" href=\"$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/css/template_css.css\" type=\"text/css\"/>" ; ?><?php echo "<link rel=\"shortcut icon\" href=\"$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/favicon.ico\" />" ; 
?>
<?php 
   require_once($mosConfig_absolute_path."/templates/$GLOBALS[cur_template]/menu.php"); 
?>


<script>
//<![CDATA[


  
YAHOO.namespace("YuiPortals");	


menuEntry = function(strText, strHelpText, strAction)
{
   this.text = strText ;
   this.helptext = strHelpText;
   this.url = strAction ;
}


<?php
  $myMenuArr = array() ;
  $return = mosGetParam( $_SERVER, 'REQUEST_URI', null );
  // converts & to &amp; for xtml compliance
   $return = str_replace( '&', '&amp;', $return );
   
   if( strcmp($return, '/') == 0 || strcmp($return, '/index.php') == 0
          || stristr($return, 'com_frontpage') == TRUE)
   {
    $isFront = true ;    //frontpage (Joomla)
   }   
   makeMainMenu(true, &$myMenuArr);  //this would create a itemData Array.
?>  

   /*Use onDOMReady to preset the portal*/  

            onDOMReady = function(p_sType) 
            { 
               YAHOO.YuiPortals.joomlaLeft = new YAHOO.widget.Overlay("joomlaModuleBoxLeft", 
                      { iframe:false, xy:[10,72], width:"200px",
                       // height:"300px",
                        overflow:"auto",
                        zIndex:1,
                        effect:{effect:YAHOO.widget.ContainerEffect.FADE,duration:1.500},
                          visible:false, 
                        constraintoviewport:false }
                         );
               YAHOO.YuiPortals.joomlaLeft.render();
               YAHOO.YuiPortals.joomlaLeft.show() ;

               YAHOO.YuiPortals.overlay1 = new YAHOO.widget.Overlay("Splash", { 
                    fixedcenter:true,  
                    visible:false/*,
						  width:"570px",
                    height:"400px"
                    */
                    //zIndex:-1 //don't do this
                     }
                   );

               
      if(NS2112.aPortalSettings['FRONTPANEL']!=null)
      {
         //loading a panel on startup - currently disabled
      }

   portalMan.getMasterControl().loadSnapIns() ;            
               
          
}  //domready
				
   aItemData[1].submenu.itemdata.push(new menuEntry("SysInfo", "SystemInfo", "javascript:NS2112.portalMan.SysInfo()")) ;
   

/*
   Replaces myPortalCallback, since the Portalsettings will no more loaded by
   doing an AJAX call, but remain in an included  JS File instead.
*/

setup = function()
 {
  if(NS2112.aPortalSettings['BACKGROUND'] != null &&
      NS2112.aPortalSettings['BACKGROUND'] != 'none') 
   {
      YAHOO.YuiPortals.overlayBg.render();
      //YAHOO.YuiPortals.overlayBg.center() ;
      YAHOO.YuiPortals.overlayBg.show() ;
      if( YAHOO.util.Event.isIE ) //ie only - this would cause a permanent hide on ff
         document.getElementById('myBackground').style.zIndex = "-1" ;  //important, to not hide panels!
        else
         document.getElementById('myBackground').style.zIndex = "0" ;
   }

   if(NS2112.aPortalSettings['LOGO'] != 'none') 
   {
      if(NS2112.aPortalSettings['LOGO']['EXTX']==null) NS2112.aPortalSettings['LOGO']['EXTX'] = YAHOO.YuiPortals.constDefaultLogoWidth ;
      if(NS2112.aPortalSettings['LOGO']['EXTY']==null) NS2112.aPortalSettings['LOGO']['EXTY'] = YAHOO.YuiPortals.constDefaultLogoHeight ;

      document.getElementById('Splash').style.width  = parseInt(NS2112.aPortalSettings['LOGO']['EXTX'],10) + 'px' ;
      document.getElementById('Splash').style.height = parseInt(NS2112.aPortalSettings['LOGO']['EXTY'],10) + 'px' ;
      YAHOO.YuiPortals.overlay1.render();
      YAHOO.YuiPortals.overlay1.center() ;
      YAHOO.YuiPortals.overlay1.show() ;
      if( YAHOO.util.Event.isIE ) //ie only - this would cause a permanent hide on ff
       {
           document.getElementById('Splash').style.zIndex = "-1" ;  //important, to not hide panels!
      }
      else
         document.getElementById('Splash').style.zIndex = "0" ;
      

   }

   if(NS2112.aPortalSettings['LOADTAGCLOUD'] === 'true') 
   {
      //YAHOO.YuiPortals.menuCloudTag.render();
      //YAHOO.YuiPortals.menuCloudTag.show() ;
   }

   if(NS2112.aPortalSettings['SITENAME'] != null) 
   {
      document.title = NS2112.aPortalSettings['SITENAME'] ;
   }

   if(NS2112.aPortalSettings['WINDOWS']['HIDEONDRAG'] === 'false')  //default is true, so do not check for true.
   {
      //myWindowMan.m_bHideOnDrag = false ;
   }
   //myWindowMan.m_iWindowExtX  = parseInt(NS2112.aPortalSettings['WINDOWS']['EXTX'], 10) ;
   //if(myWindowMan.m_iWindowExtX <= 0) NS2112.windowMan.constDefaultWindowWidth ;
   //myWindowMan.m_iWindowExtY  = parseInt(NS2112.aPortalSettings['WINDOWS']['EXTY'], 10) ;
   //if(myWindowMan.m_iWindowExtY <= 0) NS2112.windowMan.constDefaultWindowHeight ;
 }
	   



 
 loadFront = function()
 {
   setup() ;
 }


YAHOO.util.Event.onDOMReady(onDOMReady);
YAHOO.util.Event.addListener(window, "load", loadFront);

//YAHOO.util.Event.addListener(window, 'load', NS2112.snowportals.init);

//]]>  //CDATA    
</script>



</head>

<body>

<div id="Splash" style="width:600px;height:600px;">
</div>


<div id="myBackground" >
</div>



<div id="joomlaModuleBoxLeft" style="visibility:hidden;overflow:auto;left:10px;top:72px;width:200px;">
<?php
   mosLoadModules ( 'user1' );   //LKS LOGIN   
?>
</div>



<script type="text/javascript"> 

</script>

</body>
</html>